package com.neuedu.corejava.jdbc.dao;

import java.util.List;

public  interface IBaseDao<T> {
	
	//查询
	public List<T> finAll();
	
	//ID查询
	public T finById(int id);
	
	//通过name进行模糊查询
	public List<T> finByName(T paT);
	
	
	//添加
	public boolean add(T param);
	
	//修改
	public boolean edit(T param);
	
	//删除
	public boolean deleteById(int id);
	


}
